﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Windows.Forms;

namespace AMS.ComponentModel
{
    public interface IFormShowNotifier
    {
        void BeforeShowForm(Form frm, string showMode);
        bool OnShowNotify(Form frm, string showMode);
        void OnMenuItemClicked(object sender, MenuClickEventArgs e);
        void OnMenuItemClicked(string tag, MenuClickEventArgs e);
        /// <summary>
        /// 获取或设置一个标识，是否强制关闭工作窗体
        /// </summary>
        bool ForceCloseWorkForm { get; set; }
    }
}
